/* 
 * Gneat (http://gneat.org)
 *
 * (C) Copyright 2011 and beyond - Claudio Stella, all rights reserved.
 *
 * This file is part of Gneat.
 *
 * Gneat is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License (LGPL)
 * as published by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Gneat is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * and the GNU General Public License, for completeness, along with Gneat.  
 * If not, see <http://www.gnu.org/licenses/>.
 */
package org.neatshell.gneat.client.presenter.core.manipulation;

import org.neatshell.gneat.client.presenter.core.IPresenterList;
import org.neatshell.gneat.client.presenter.core.manipulation.css.Css;

public interface StylePropertiesList {
	/**
	 * Set CSS property
	 * 
	 * @param cssProp CSS property
	 * @param propValue CSS property value
	 */
	IPresenterList css(Css cssProp, String propValue);

	/**
	 * Set the value of a CSS property
	 * 
	 * @param name CSS property name
	 * @param value CSS property value
	 */
	IPresenterList css(String name, String value);

	/**
	 * Shorthand for css(Css.HEIGHT, value)
	 *
	 * @param value an integer with a measure provided
	 */
	IPresenterList height(String value);

	/**
	 * Hide this presenter.
	 */
	IPresenterList hide();

	/**
	 * Show this presenter.
	 */
	IPresenterList show();

	/**
	 * Toggle this presenter.
	 */
	IPresenterList toggle();

	/**
	 * Shorthand for css(Css.WIDTH, value)
	 * @param value an integer with a measure provided
	 */
	IPresenterList width(String value);
}